<div class="modal-content" style="margin-top: 100px;">
	<div class="pianadd">
		<div class="modal-header">
			<h5 class="modal-title"><span class="iconfont icon-ceshishenqing1">&nbsp;</span>新增离校任务</h5>
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true">×</span>
			</button>
		</div>
		<div class="modal-body">
			<div class="container">
				<div style="max-height: 400px;overflow: auto;">
					<table class="table table-bordered">

						<tr>
							<td>学年：</td>
							<td>
								<select class="form-control" ng-model="form.fk_year" form-check="must"  form-check-alert="请选择学年">
									<option value="" class="" selected="selected">==请选择==</option>
									<option ng-repeat="data in propList | filter:{prop_key:'STU_YEAR'}" value="{{data.prop_pk}}">{{data.real_value}}--{{data.real_value+1}}学年</option>
								</select>
							</td>
							<td>学期：</td>
							<td>
								<select class="form-control" ng-model="form.fk_team" form-check="must" form-check-alert="请选择学期">
									<option value="" class="" selected="selected">==请选择==</option>
									<option ng-repeat="data in propList | filter:{prop_key:'STU_TERM'}" value="{{data.prop_pk}}">{{data.prop_value}}</option>
								</select>
							</td>

						</tr>

						<tr>
							<td>任务名称：</td>
							<td colspan="3">
								<input ng-model="form.task_name" type="text" class="form-control"/>
							</td>
						</tr>


						<tr>
							<td>开始日期：</td>
							<td>
								<input type="text" ng-model="form.start_date" readonly="readonly" class="form-control date-picker">
							</td>
							<td>结束日期：</td>
							<td>
								<input type="text" ng-model="form.end_date" readonly="readonly" class="form-control date-picker">
							</td>
						</tr>
						<tr>
							<td>年级：</td>
							<td colspan="3">
								<select class="form-control" ng-options="m.id as m.name for m in gradeList" ng-model="form.fk_grade">
									<option value="">==请选择==</option>
								</select>
							</td>
						</tr>
						<tr>
							<td>备注：</td>
							<td colspan="3">
								<input ng-model="form.task_ps" type="text" class="form-control"/>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		</select>
		<div class="modal-footer">
			<div style="margin: auto;">
				<button type="button" class="btn btn-primary" ng-click="save()">
					<span aria-hidden="true">提交</span>
				</button>
				<button type="button" class="btn btn-secondary" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">取消</span>
				</button>
			</div>
		</div>
	</div>
</div>
